package chapter5.service;
import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import chapter5.dao.UserDaoImp;
import chapter5.entity.User;
import org.springframework.stereotype.Service;
@Service
public class UserService {
    @Resource
    public UserDaoImp userDao;
    public List<User> getUserList() {
        List<User> list=userDao.getUserList();
        return list;
    }
}
